﻿namespace B.S.BaseData.Api.Write
{
    /// <summary>
    /// Jwt配置类
    /// </summary>
    public class JwtSettings
    {
        /// <summary>
        /// 私钥
        /// </summary>
        public string SigningKey {  get; set; }
        /// <summary>
        /// 发布者信息
        /// </summary>
        public string Issuer { get; set; }
        /// <summary>
        /// 接受者信息
        /// </summary>
        public string Audience { get; set; }
        /// <summary>
        /// Token过期时间
        /// </summary>
        public int TokenExpires { get; set; }
        /// <summary>
        /// Token续约过期时间
        /// </summary>
        public int RefreshTokenExpirationDays {  get; set; }
    }
}
